Skip to content

Conversation

@lwin-kyaw
Copy link
Contributor

@lwin-kyaw lwin-kyaw commented Oct 30, 2025

Description

This PR fixes Invalid Access Token error during the rehydrate/create with social login and updates @metamask/seedless-onboarding-controller to v6.

Open in GitHub Codespaces

Changelog

CHANGELOG entry: fixed Invalid Access Token error during the rehydrate/create with social login
CHANGELOG entry: updated @metamask/seedless-onboarding-controller to v6.

Related issues

Fixes: #37337

Manual testing steps

  1. Select create or import wallet with social login and finish the social login.
  2. Before create-password or rehydrate, close the browser.
  3. Re-open the browser and launch the wallet, users should be redirect back to the welcome page since SocialLogin Auth tokens (which are temporarily store in controller state) were removed.

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Note

Refactors social-login rehydration and unlock flows (auth check, error-driven reset with new ConnectionsRemoved modal), exposes an auth-check method, updates tests and LavaMoat policies, and upgrades seedless onboarding deps to v6.

  • Auth/Onboarding logic (Controller + Actions):
    • Expose getIsSeedlessOnboardingUserAuthenticated via metamask-controller and add thunk getIsSeedlessOnboardingUserAuthenticated.
    • Refactor syncPasswordAndUnlockWallet(password) to stop returning a boolean; streamline password sync flow and error handling.
  • UI/UX:
    • Rework ConnectionsRemovedModal to be controlled by caller (onConfirm prop); remove showConnectionsRemovedModal state, selector, and actions; stop rendering it in Home.
    • UnlockPage: redirect to ONBOARDING_WELCOME_ROUTE if user not authenticated during rehydration; show ConnectionsRemovedModal on MaxKeyChainLengthExceeded and reset wallet from there; minor login/reset flow tweaks.
    • CreatePassword: validate authenticated social session and redirect to welcome if not authenticated.
  • Tests/E2E:
    • Update unit/e2e tests for new flows and modal; add Firefox-specific onboarding metrics handling; adjust mocks to track TOPRFGetPubKey and password-outdated checks.
  • Security/Policy:
    • Update LavaMoat policies for nested @metamask/toprf-secure-backup deps and new @metamask/auth-network-utils paths.
  • Dependencies:
    • Bump @metamask/seedless-onboarding-controller to 6.0.0-preview and update related deps (@metamask/toprf-secure-backup ^0.10, @metamask/auth-network-utils ^0.4, @toruslabs/eccrypto ^6.2); refresh yarn.lock.

Written by Cursor Bugbot for commit d9e19bb. This will update automatically on new commits. Configure here.

lwin-kyaw and others added 30 commits July 21, 2025 19:13
@metamaskbot
Copy link
Collaborator

Builds ready [856a42c]
UI Startup Metrics (1282 ± 98 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1282112517029813391471
load110196814748911551237
domContentLoaded109596314658811491231
domInteractive221487131956
firstPaint58591147044710981231
backgroundConnect2322182628235246
firstReactRender31195693650
getState21894112440
initialActions001001
loadScripts869740121185920997
setupStore1072331115
numNetworkReqs1367620674
BrowserifyPower User HomeuiStartup20801786348348623793483
load1098937181426213841814
domContentLoaded1090933180726013771807
domInteractive31141092753109
firstPaint6849614634629631463
backgroundConnect24022027518257275
firstReactRender28255162751
getState18416027730188277
initialActions001011
loadScripts864708153824911441538
setupStore1492872228
numNetworkReqs15810331890312318
WebpackStandard HomeuiStartup8767301209918911117
load65158797973660845
domContentLoaded64358096370652821
domInteractive16126081535
firstPaint21557966213204748
backgroundConnect2812110172970
firstReactRender29185983440
getState1363041520
initialActions001001
loadScripts63957895268650811
setupStore1162341217
numNetworkReqs1367419871
WebpackPower User HomeuiStartup13461183189725617041897
load681606942116762942
domContentLoaded665594910111749910
domInteractive221365164065
firstPaint33087900239606900
backgroundConnect68182537754253
firstReactRender26233122631
getState14510816416153164
initialActions001011
loadScripts661592899107738899
setupStore962441024
numNetworkReqs1469728168200281
FirefoxBrowserifyStandard HomeuiStartup15281338199412715941759
load1296114215238913721451
domContentLoaded1296114115228913721450
domInteractive1223731951128233
firstPaint------
backgroundConnect49282112851100
firstReactRender28226472746
getState84354816
initialActions001001
loadScripts1266112114888513381416
setupStore157184211237
numNetworkReqs1366816863
BrowserifyPower User HomeuiStartup25252192304124127333041
load14071147192019515071920
domContentLoaded14071147192019615061920
domInteractive20885671169374671
firstPaint------
backgroundConnect12138472126159472
firstReactRender48291061948106
getState1379618325157183
initialActions002112
loadScripts13741125186018814691860
setupStore3081072951107
numNetworkReqs1356922363213223
WebpackStandard HomeuiStartup16031440211912616311912
load13771203168310114221609
domContentLoaded13771203168310014221608
domInteractive1033024733115169
firstPaint------
backgroundConnect47251332354104
firstReactRender312378123070
getState844751015
initialActions001001
loadScripts1348118416349113971536
setupStore14473121338
numNetworkReqs1366917766
WebpackPower User HomeuiStartup25702183340438129203404
load15121249197324618451973
domContentLoaded15121248197324618441973
domInteractive21039587199508587
firstPaint------
backgroundConnect11231496123215496
firstReactRender483292175792
getState1457325845192258
initialActions102112
loadScripts14781228190623017951906
setupStore27698273598
numNetworkReqs1376433585233335
📊 Page Load Benchmark Results

Current Commit: 856a42c | Date: 11/1/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±38ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 718ms (±34ms) 🟢 | historical mean value: 725ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±11ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 38ms 1.01s 1.31s 1.07s 1.31s
domContentLoaded 718ms 34ms 700ms 973ms 750ms 973ms
firstPaint 76ms 11ms 60ms 164ms 84ms 164ms
firstContentfulPaint 76ms 11ms 60ms 164ms 84ms 164ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

@metamaskbot
Copy link
Collaborator

Builds ready [b73be1f]
UI Startup Metrics (1270 ± 97 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1270108715549713491426
load109094613149111581244
domContentLoaded108494013009011521236
domInteractive211472121853
firstPaint67479127644610911231
backgroundConnect2302162537234246
firstReactRender311993103648
getState229111142646
initialActions004001
loadScripts8607241060899311016
setupStore1174451219
numNetworkReqs1367619672
BrowserifyPower User HomeuiStartup21061837315141326123151
load1128964181225214451812
domContentLoaded1116958180225214291802
domInteractive311687246387
firstPaint656176146344110001463
backgroundConnect24723327812255278
firstReactRender27232912829
getState17716220512188205
initialActions001001
loadScripts883732153424211891534
setupStore1191521215
numNetworkReqs1579931388301313
WebpackStandard HomeuiStartup86172812071038581154
load64758896893643942
domContentLoaded63958294789637928
domInteractive15114071435
firstPaint20457950219184861
backgroundConnect261196172579
firstReactRender2918114123335
getState1262231418
initialActions001001
loadScripts63658093787635918
setupStore1152031217
numNetworkReqs1467519871
WebpackPower User HomeuiStartup13161074179723213331797
load687610933108702933
domContentLoaded66859888198695881
domInteractive241374203474
firstPaint406106884298680884
backgroundConnect63102337260233
firstReactRender26242912629
getState1415618629156186
initialActions001001
loadScripts66459686994684869
setupStore1062451124
numNetworkReqs1459727967190279
FirefoxBrowserifyStandard HomeuiStartup14341246197514214721745
load1221108814959512801414
domContentLoaded1221108814959512791414
domInteractive1083334040123162
firstPaint------
backgroundConnect47251722950105
firstReactRender24204652438
getState74253714
initialActions002001
loadScripts1193107014318612471381
setupStore13688101233
numNetworkReqs1467620772
BrowserifyPower User HomeuiStartup25082154324431727363244
load14071152188821116231888
domContentLoaded14061151188721016231887
domInteractive23092735195422735
firstPaint------
backgroundConnect1153232579166325
firstReactRender402967104767
getState1247117528144175
initialActions102112
loadScripts13711109181620215841816
setupStore2771102533110
numNetworkReqs1377232883204328
WebpackStandard HomeuiStartup16981485217414617232034
load14341236177310214781657
domContentLoaded14341235177210214781657
domInteractive1003222936114171
firstPaint------
backgroundConnect55282283358127
firstReactRender372581173879
getState134217271121
initialActions002001
loadScripts1401121516909314441580
setupStore16878131451
numNetworkReqs1366818766
WebpackPower User HomeuiStartup25902155395651130943956
load15191225210926418002109
domContentLoaded15191224210926417992109
domInteractive23588780204408780
firstPaint------
backgroundConnect1123541796135417
firstReactRender40315584755
getState1299317923150179
initialActions101011
loadScripts14741205201825317612018
setupStore3391033158103
numNetworkReqs13767342106238342
📊 Page Load Benchmark Results

Current Commit: b73be1f | Date: 11/1/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±39ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 728ms (±36ms) 🟢 | historical mean value: 725ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±11ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 39ms 1.02s 1.32s 1.07s 1.32s
domContentLoaded 728ms 36ms 705ms 990ms 747ms 990ms
firstPaint 77ms 11ms 60ms 172ms 88ms 172ms
firstContentfulPaint 77ms 11ms 60ms 172ms 88ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

cursor[bot]

This comment was marked as outdated.

@metamaskbot
Copy link
Collaborator

Builds ready [4fa1f04]
UI Startup Metrics (1224 ± 103 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup12241052171310312921400
load104689814269111051206
domContentLoaded104089314139010991194
domInteractive201461101846
firstPaint66282125440910501170
backgroundConnect1991802379204218
firstReactRender31174783545
getState256111163053
initialActions002001
loadScripts8477091189889101003
setupStore1162841218
numNetworkReqs1367520673
BrowserifyPower User HomeuiStartup20191793271230222812712
load1068939144218212611442
domContentLoaded1059932143218312521432
domInteractive281575195075
firstPaint62918314304259611430
backgroundConnect23822227313245273
firstReactRender292566102866
getState1749820824190208
initialActions001011
loadScripts83271311921779881192
setupStore1182641126
numNetworkReqs1508131280254312
WebpackStandard HomeuiStartup8837511188898981103
load65559996177658875
domContentLoaded64659294574652864
domInteractive171295111535
firstPaint20058909204192763
backgroundConnect271398162973
firstReactRender3317268273540
getState1363041619
initialActions001001
loadScripts64359093571650853
setupStore1152341317
numNetworkReqs1367419870
WebpackPower User HomeuiStartup13591177197026815921970
load689610969121848969
domContentLoaded669598913107818913
domInteractive221356153956
firstPaint33667917276610917
backgroundConnect701131587112315
firstReactRender26242812728
getState15110321524158215
initialActions001011
loadScripts665595903104807903
setupStore1262672026
numNetworkReqs1479227664200276
FirefoxBrowserifyStandard HomeuiStartup14761280197612715561721
load1258109814669713381438
domContentLoaded1257109814659713381438
domInteractive1183536450125228
firstPaint------
backgroundConnect4426182224795
firstReactRender26214942636
getState9417217723
initialActions001001
loadScripts1230107414389313071409
setupStore157226231235
numNetworkReqs1266816762
BrowserifyPower User HomeuiStartup28202432409751931074097
load15891321212724618862127
domContentLoaded15891321212724618862127
domInteractive238104794198438794
firstPaint------
backgroundConnect14439626158214626
firstReactRender44346395163
getState16411922331195223
initialActions106116
loadScripts15461281207624418422076
setupStore3281203348120
numNetworkReqs1397131983212319
WebpackStandard HomeuiStartup16421483203112116831945
load1402126017109714401651
domContentLoaded1401126017109714401650
domInteractive1053340044117195
firstPaint------
backgroundConnect49241342454115
firstReactRender332480143177
getState84193814
initialActions002001
loadScripts1371124016888914091578
setupStore157182191334
numNetworkReqs1366717865
WebpackPower User HomeuiStartup25602208313624526553136
load15671307197820517921978
domContentLoaded15661306197720517921977
domInteractive18182435131365435
firstPaint------
backgroundConnect933035683109356
firstReactRender43305585055
getState1387120238173202
initialActions102112
loadScripts15261273194320117531943
setupStore241193213793
numNetworkReqs1345830681212306
📊 Page Load Benchmark Results

Current Commit: 4fa1f04 | Date: 11/3/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.03s (±72ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 724ms (±68ms) 🟢 | historical mean value: 726ms ⬇️ (historical data)
  • firstContentfulPaint-> current mean value: 74ms (±11ms) 🟢 | historical mean value: 77ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.03s 72ms 996ms 1.30s 1.25s 1.30s
domContentLoaded 724ms 68ms 690ms 990ms 934ms 990ms
firstPaint 74ms 11ms 56ms 172ms 84ms 172ms
firstContentfulPaint 74ms 11ms 56ms 172ms 84ms 172ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

@metamaskbot
Copy link
Collaborator

Builds ready [2b5d2c0]
UI Startup Metrics (1271 ± 95 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1271109015389513531430
load109493213498911731223
domContentLoaded108892813418811651216
domInteractive201363101848
firstPaint64389125444211071200
backgroundConnect2282152608232242
firstReactRender3020162153544
getState21891102438
initialActions001001
loadScripts866704112986941993
setupStore1152741120
numNetworkReqs1367119670
BrowserifyPower User HomeuiStartup20201791282933023402829
load1085938156220713511562
domContentLoaded1077932155120613441551
domInteractive271559175259
firstPaint71823715563909671556
backgroundConnect2372192569244256
firstReactRender28253322933
getState17416220413176204
initialActions001011
loadScripts849711130720111131307
setupStore1382761227
numNetworkReqs19199422106306422
WebpackStandard HomeuiStartup8707301246938771133
load651588100786652921
domContentLoaded64258298580645887
domInteractive16126391439
firstPaint21161942215187625
backgroundConnect271284162872
firstReactRender29187193437
getState1361931518
initialActions004001
loadScripts63958097578643876
setupStore1152131316
numNetworkReqs1367619874
WebpackPower User HomeuiStartup14151225196827117441968
load72962410161488911016
domContentLoaded709612970136860970
domInteractive271384225184
firstPaint37785974303637974
backgroundConnect781327893210278
firstReactRender27263112831
getState15410717717161177
initialActions001011
loadScripts704609959133847959
setupStore1162661426
numNetworkReqs1569627863203278
FirefoxBrowserifyStandard HomeuiStartup15211316199713015971754
load1287112815268813441448
domContentLoaded1287112715268813441448
domInteractive1253533858132266
firstPaint------
backgroundConnect50272223150134
firstReactRender27215362746
getState843051018
initialActions001001
loadScripts1257110614598313261399
setupStore148190191231
numNetworkReqs1366516861
BrowserifyPower User HomeuiStartup27832276376249633823762
load15111220202026517832020
domContentLoaded15101220201926517822019
domInteractive21591556163301556
firstPaint------
backgroundConnect17035576170342576
firstReactRender453299185299
getState1529932964136329
initialActions101111
loadScripts14701192194325017531943
setupStore2961073047107
numNetworkReqs1537031484220314
WebpackStandard HomeuiStartup16691435233016917002090
load14211180191012014641701
domContentLoaded14211180191012014641701
domInteractive1043456655114149
firstPaint------
backgroundConnect53221882860119
firstReactRender362383173679
getState11413219826
initialActions001001
loadScripts13891163187311114371635
setupStore188239281470
numNetworkReqs1366918766
WebpackPower User HomeuiStartup26452052387355729993873
load15731281221431920072214
domContentLoaded15731281221431920072214
domInteractive23473677222563677
firstPaint------
backgroundConnect1023825383238253
firstReactRender49366195761
getState16311122336198223
initialActions106116
loadScripts15311259213730119302137
setupStore34101092648109
numNetworkReqs13362346100240346
📊 Page Load Benchmark Results

Current Commit: 2b5d2c0 | Date: 11/4/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.06s (±67ms) 🟡 | historical mean value: 1.04s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 747ms (±92ms) 🟢 | historical mean value: 724ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 87ms (±75ms) 🟢 | historical mean value: 77ms ⬆️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.06s 67ms 1.03s 1.69s 1.09s 1.69s
domContentLoaded 747ms 92ms 716ms 1.64s 762ms 1.64s
firstPaint 87ms 75ms 64ms 832ms 88ms 832ms
firstContentfulPaint 87ms 75ms 64ms 832ms 88ms 832ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

@metamaskbot
Copy link
Collaborator

Builds ready [3c86839]
UI Startup Metrics (1270 ± 95 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1270111216549513251432
load109296014038611471225
domContentLoaded108695513948511411219
domInteractive211491141856
firstPaint62592129043911001220
backgroundConnect2302192506234241
firstReactRender29185573443
getState24887132545
initialActions001001
loadScripts862737117685917995
setupStore1162631219
numNetworkReqs1367620673
BrowserifyPower User HomeuiStartup20531780342643821773426
load1099930187926413691879
domContentLoaded1089921186326213481863
domInteractive301582225682
firstPaint59017114404819591440
backgroundConnect24322131223249312
firstReactRender28253632836
getState18515625223198252
initialActions001011
loadScripts859705156924411181569
setupStore1292851228
numNetworkReqs17010231287307312
WebpackStandard HomeuiStartup8417091159878541042
load61255992277616816
domContentLoaded60355190073610799
domInteractive16125781436
firstPaint23556904235200782
backgroundConnect281395153069
firstReactRender2918123123436
getState1362141618
initialActions001001
loadScripts59954989371607790
setupStore1162441320
numNetworkReqs1467620873
WebpackPower User HomeuiStartup14001188185623417301856
load697608973109797973
domContentLoaded677593934101766934
domInteractive251274204274
firstPaint30266670206601670
backgroundConnect781125485207254
firstReactRender27243322933
getState15010717319166173
initialActions001011
loadScripts67259192397754923
setupStore1262361623
numNetworkReqs1899831983286319
FirefoxBrowserifyStandard HomeuiStartup14261276207413115081631
load1211109314499012911396
domContentLoaded1211109314499012911395
domInteractive1073431848116213
firstPaint------
backgroundConnect4126136174768
firstReactRender25214852639
getState74375717
initialActions001001
loadScripts1187107514088612571365
setupStore147223221137
numNetworkReqs1266615760
BrowserifyPower User HomeuiStartup25392263310725827653107
load14511221177818016541778
domContentLoaded14511220177718016541777
domInteractive23495589163418589
firstPaint------
backgroundConnect993531677101316
firstReactRender42325574855
getState15310719229186192
initialActions106116
loadScripts14151197171817116231718
setupStore48101253886125
numNetworkReqs18970415103247415
WebpackStandard HomeuiStartup17091509228214917422038
load14541274179511215011691
domContentLoaded14531274179511215011691
domInteractive1063136247119186
firstPaint------
backgroundConnect58271903364132
firstReactRender352395153479
getState94516819
initialActions001011
loadScripts14171231170910214661630
setupStore188131191572
numNetworkReqs1366818765
WebpackPower User HomeuiStartup25532167292724528382927
load15591245186320318011863
domContentLoaded15581244186320318001863
domInteractive17142439143371439
firstPaint------
backgroundConnect883028366131283
firstReactRender40295984859
getState1308020734149207
initialActions102112
loadScripts15211219180619117521806
setupStore41111574164157
numNetworkReqs1636727669220276
📊 Page Load Benchmark Results

Current Commit: 3c86839 | Date: 11/4/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.04s (±71ms) 🟡 | historical mean value: 1.04s ⬇️ (historical data)
  • domContentLoaded-> current mean value: 730ms (±68ms) 🟢 | historical mean value: 726ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 76ms (±11ms) 🟢 | historical mean value: 80ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.04s 71ms 1.00s 1.32s 1.26s 1.32s
domContentLoaded 730ms 68ms 693ms 1.00s 931ms 1.00s
firstPaint 76ms 11ms 60ms 156ms 92ms 156ms
firstContentfulPaint 76ms 11ms 60ms 156ms 92ms 156ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

@metamaskbot
Copy link
Collaborator

Builds ready [26a6e80]
UI Startup Metrics (1307 ± 106 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup13071133177710613621470
load112392615529911901270
domContentLoaded111692215399911841260
domInteractive221466132060
firstPaint70697158245211271255
backgroundConnect23521933413238253
firstReactRender3119136133448
getState2084272436
initialActions001001
loadScripts8896971286969561029
setupStore1163341218
numNetworkReqs1367219671
BrowserifyPower User HomeuiStartup20101788294531722622945
load1071955141317212911413
domContentLoaded1060937139417312841394
domInteractive301580225880
firstPaint65610014364399901436
backgroundConnect23722226113250261
firstReactRender26253122731
getState18415935345185353
initialActions001001
loadScripts835713116617110681166
setupStore1292741127
numNetworkReqs18010137795309377
WebpackStandard HomeuiStartup792666120288805971
load58253393674581767
domContentLoaded57352591870576732
domInteractive15116081334
firstPaint22457923228173767
backgroundConnect261384152875
firstReactRender281684103247
getState1163041316
initialActions001001
loadScripts57052391168574724
setupStore1062131217
numNetworkReqs1467520674
WebpackPower User HomeuiStartup13551188166514214791665
load68160189481756894
domContentLoaded66058985171722851
domInteractive251262174062
firstPaint38382854285658854
backgroundConnect77192777868277
firstReactRender26232922829
getState14511016116156161
initialActions001001
loadScripts65658784068712840
setupStore1273061130
numNetworkReqs2209933965246339
FirefoxBrowserifyStandard HomeuiStartup15441351206212716161773
load1301113816179513741460
domContentLoaded1301113816179513741460
domInteractive1223435450134217
firstPaint------
backgroundConnect52293303652106
firstReactRender27235152842
getState115214211128
initialActions002001
loadScripts1270111815989213451422
setupStore157102121433
numNetworkReqs1366717764
BrowserifyPower User HomeuiStartup25332192321031427583210
load14411228168514816081685
domContentLoaded14401227168414816081684
domInteractive25277541172495541
firstPaint------
backgroundConnect953034986176349
firstReactRender433165115565
getState13310420426140204
initialActions101011
loadScripts14081210164614315791646
setupStore4062035653203
numNetworkReqs1606835795230357
WebpackStandard HomeuiStartup16651445239315716862014
load14201220180611614551665
domContentLoaded14201220180611614541665
domInteractive1013122731105175
firstPaint------
backgroundConnect54261312564115
firstReactRender3323141173275
getState84233914
initialActions001001
loadScripts13871201177710514271583
setupStore187185261348
numNetworkReqs1367818865
WebpackPower User HomeuiStartup30342470456770036764567
load17601432264536621522645
domContentLoaded17591431264436621522644
domInteractive19882478144366478
firstPaint------
backgroundConnect15841664189167664
firstReactRender55341252561125
getState17410342376207423
initialActions101011
loadScripts17151408258735821202587
setupStore56102475775247
numNetworkReqs1726732896269328
📊 Page Load Benchmark Results

Current Commit: 26a6e80 | Date: 11/4/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±70ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 738ms (±68ms) 🟢 | historical mean value: 719ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 77ms (±14ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 70ms 1.01s 1.33s 1.27s 1.33s
domContentLoaded 738ms 68ms 703ms 1.00s 936ms 1.00s
firstPaint 77ms 14ms 60ms 200ms 88ms 200ms
firstContentfulPaint 77ms 14ms 60ms 200ms 88ms 200ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

@metamaskbot
Copy link
Collaborator

Builds ready [d9e19bb]
UI Startup Metrics (1261 ± 95 ms)
PlatformBuildTypePageMetricMean (ms)Min (ms)Max (ms)Std Dev (ms)P 75 (ms)P 95 (ms)
ChromeBrowserifyStandard HomeuiStartup1261111617019513001417
load108596414668511311219
domContentLoaded107995914618511251209
domInteractive211470122056
firstPaint65294130243810951203
backgroundConnect2302152547234244
firstReactRender29184883445
getState22897102538
initialActions001001
loadScripts855736122482902980
setupStore1072531118
numNetworkReqs1367620672
BrowserifyPower User HomeuiStartup20561773318543225283185
load1096926194127513311941
domContentLoaded1089920193427513231934
domInteractive301488234488
firstPaint633230980327960980
backgroundConnect23721628718248287
firstReactRender26242812728
getState18515924528193245
initialActions001011
loadScripts862710165326010951653
setupStore1192741027
numNetworkReqs15610131687293316
WebpackStandard HomeuiStartup92277012961009381187
load690614100996686959
domContentLoaded68060798292678936
domInteractive181188131641
firstPaint231581022258195939
backgroundConnect291390173278
firstReactRender29184083739
getState1372641620
initialActions001001
loadScripts67760597090676925
setupStore1263041419
numNetworkReqs1367719672
WebpackPower User HomeuiStartup13651187179922416131799
load69660610271197991027
domContentLoaded67059290991766909
domInteractive251372194472
firstPaint312108786215599786
backgroundConnect671324381162243
firstReactRender27243122831
getState15310718920164189
initialActions101011
loadScripts66559089888756898
setupStore1373082230
numNetworkReqs1469728267199282
FirefoxBrowserifyStandard HomeuiStartup14811288191812115311742
load1259108114798513141424
domContentLoaded1259108114798513131424
domInteractive1173532547129205
firstPaint------
backgroundConnect46271422450120
firstReactRender26224962643
getState10419920920
initialActions001001
loadScripts1230106014138112841381
setupStore1376491238
numNetworkReqs1367317862
BrowserifyPower User HomeuiStartup25222192316230027743162
load13911188171118316171711
domContentLoaded13901188171118316151711
domInteractive22184622194468622
firstPaint------
backgroundConnect14631526166160526
firstReactRender403065104565
getState1467527846175278
initialActions102112
loadScripts13581167166417615891664
setupStore3261313747131
numNetworkReqs1366923266208232
WebpackStandard HomeuiStartup16661495243816316822029
load14051234180410014311628
domContentLoaded14051234180410014311628
domInteractive983328933111150
firstPaint------
backgroundConnect56252953757120
firstReactRender3624114173677
getState104142151018
initialActions001011
loadScripts1374121717679114071557
setupStore187243251449
numNetworkReqs1366917765
WebpackPower User HomeuiStartup26142207416354528544163
load15021220199326018901993
domContentLoaded15011220199226018891992
domInteractive20537663203399663
firstPaint------
backgroundConnect1082945610998456
firstReactRender40295284852
getState1529631855193318
initialActions106116
loadScripts14731203196025618581960
setupStore4171714790171
numNetworkReqs1406834595223345
📊 Page Load Benchmark Results

Current Commit: d9e19bb | Date: 11/4/2025

📄 Localhost MetaMask Test Dapp

Samples: 100

Summary

  • pageLoadTime-> current mean value: 1.05s (±42ms) 🟡 | historical mean value: 1.03s ⬆️ (historical data)
  • domContentLoaded-> current mean value: 731ms (±39ms) 🟢 | historical mean value: 719ms ⬆️ (historical data)
  • firstContentfulPaint-> current mean value: 78ms (±13ms) 🟢 | historical mean value: 79ms ⬇️ (historical data)

📈 Detailed Results

Metric Mean Std Dev Min Max P95 P99
pageLoadTime 1.05s 42ms 1.02s 1.34s 1.08s 1.34s
domContentLoaded 731ms 39ms 706ms 998ms 758ms 998ms
firstPaint 78ms 13ms 60ms 196ms 88ms 196ms
firstContentfulPaint 78ms 13ms 60ms 196ms 88ms 196ms
largestContentfulPaint 0ms 0ms 0ms 0ms 0ms 0ms

Base automatically changed from feat/reset-wallet to main November 6, 2025 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-onboarding seedless-onboarding Any issues related to the seedless onboarding feature size-M team-web3auth Web3Auth team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Show invalid token error when closing browser app and re-open for Rehydration flow

3 participants